<style type="text/css">
#num_consulting{
    height: 200px;
    float: left;
}
.box-body{
    float: left;
}
.box{
    float: left;
}
</style>
<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <div class="col-12 col-lg-12">
                            <div class="box">
                                <div class="box-body">
                                    <div id="num_consulting">

                                    </div>
                                </div>

                            </div>
                        </div>
                        
                    </div>
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('consulting_history/edit')}" 
                           data-operate-del="{:$auth->check('consulting_history/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script id="customformtpl" type="text/html">
    <!--form表單必須添加form-commsearch這個類-->
    <form action="" class="form-commonsearch">
        <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
            <h4>搜索條件</h4>
            <hr>
            <div class="row">
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label for="paytime" class="control-label">選擇日期</label>
                        <div>
                        <input type="hidden" class="form-control operate" name="paytime-operate" data-name="paytime" value="RANGE" readonly="">
                        <input type="text" class="form-control datetimerange" name="paytime" value="" placeholder="選擇日期" id="paytime" data-index="5">
                        </div>
                    </div>
                </div>



                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label"></label>
                        <div class="row">
                            <div class="col-xs-6">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                            <div class="col-xs-6">
                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>